package org.kineticsproject.application;

import org.eclipse.jface.action.Action;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.ISelectionListener;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;

public class SelectPersonAction extends Action implements ISelectionListener, IWorkbenchAction
{

	private final IWorkbenchWindow window;
	private final static String ID = "org.kineticsproject.application.selectPerson";
	//private IStructuredSelection selection;
	
	public SelectPersonAction(IWorkbenchWindow window)
	{
		this.window = window;
		setId(ID);
		window.getSelectionService().addSelectionListener(this);
	}
	
	public void dispose()
	{
		window.getSelectionService().removeSelectionListener(this);
	}

	@Override
	public void selectionChanged(IWorkbenchPart part, ISelection selection) {
		
		
	}
}
